<?php

namespace App\Console\Commands\Fee;

use App\Console\Commands\Traits\ExcelCommandTrait;
use Illuminate\Console\Command;

class ImportAdjustFee extends Command
{

    use ExcelCommandTrait;

    /**
     * The name and signature of the console command.
     *
     * @var string
     */
    protected $signature = 'fee:import-adjust-manager-fee';

    /**
     * The console command description.
     *
     * @var string
     */
    protected $description = '修改店铺的年管理费';

    /**
     * Create a new command instance.
     *
     * @return void
     */
    public function __construct()
    {
        parent::__construct();
    }

    /**
     * Execute the console command.
     *
     * @return int
     */
    public function handle()
    {
        $url = 'https://file.51kuafu.com/f8/eb/6c05ec6e8b197c15b9ab3ab2bb4d969b0ee9ea8cc2d2cbbb28852f4c456c.xlsx';

        $this->excelImport(\App\Service\Fee\Import\AdjustManageFee::class, $url);

    }
}
